//
//  MVVMBaseViewController.swift
//  CHSimpleUI
//
//  Created by cyptt on 2023/3/21.
//

import UIKit

class MVVMBaseViewController: UIViewController {
    @IBOutlet weak var tabView: UITableView!
    

    override func viewDidLoad() {
        super.viewDidLoad()

        self.view.backgroundColor = UIColor.white
    
        self.view.addSubview(self.listView)
        self.listView.snp.makeConstraints { make in
            make.left.right.width.height.equalToSuperview()
        }
    
    }
    
    deinit{
        print("MVVMBaseViewController--deint")
    }

    lazy var listView: MVVMTestTabView = { () -> MVVMTestTabView in
        let listV = MVVMTestTabView.init(controller: self)
        listV.backgroundColor = UIColor.red
        return listV
    }()

    
   

}
